<template>
    <div class="app-container">
        <el-button type="danger" @click="clear">清空缓存</el-button>
    </div>
</template>

<script>
import { removeToken } from '@/utils/auth'
export default {
    data() {
        return {
        }
    },
    created() {
    },
    methods: {
        clear() {
            removeToken();
            this.$router.push('/login')
        }
    }
}
</script>

<style scoped lang="scss">
.business-item {
    display: inline-block;
    position: relative;
    margin: 5px 15px;
    padding: 10px 20px 0px 20px;
    border-radius: 5px;
    background-color: #f3f3f3;
    color: #a3a3a3;
    cursor: pointer;

    .business-icon {
        display: inline-block;
        padding-right: 10px;
        position: relative;
        top: -10px;
    }
    .business-content {
        display: inline-block;

        .business-name {
            font-size: 18px;
            font-weight: bold;
            border-bottom: 1px white dashed;
        }

        .business-status {
            padding-top: 8px;
        }
    }
}
</style>